{% extends 'Admin/AdminBase.html' %}


{% block header %}

{% endblock %}


{% block contenter %}
<section class="content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title">资讯管理</h4>
                        <div class="card-tools">
                            <div class="input-group input-group-sm">
                                <button type="button" class="btn btn-block bg-gradient-primary btn-sm">Primary</button>
                            </div>
                        </div>
                    </div>

                    <div class="card-body table-responsive p-0">
                        <table class="table table-hover text-nowrap">
                            <thead>
                                <tr>
                                    <th>标题</th>
                                    <th>创建时间</th>
                                    <th>usernmae</th>
                                    <th>usernmae</th>
                                    <th>管理</th>
                                </tr>
                            </thead>
                            <tbody>
                            {% for info in list %}
                                <tr>
                                    <td>{{ info.in_title }}</td>
                                    <td>{{ info.in_createtime }}</td>
                                    <td>usernmae</td>
                                    <td>usernmae</td>
                                    <td>
                                        <a href="{{ url_for('admin_web.article_info',in_id=info.in_id,page=page )}}">编辑</a>
                                        |
                                        <a href="">删除</a>
                                    </td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                    <div class="card-footer clearfix">
                        <div class="row" style="margin-top:10px">
                            <div class="col-sm-12 col-md-5">
                                 <label>
                                     <a href="{{ url_for('admin_web.article_info',page=page )}}" class="btn btn-block bg-gradient-primary btn-sm">+ 创建新内容</a>
                                 </label>
                            </div>
                            <div class="col-sm-12 col-md-7">
                                {{ pagination|safe }}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
{% endblock %}



{% block footer %}

{% endblock %}